package tmproject.hlhj.fhp.tmvote.beans;

/**
 * Created by Never Fear   on 2018\8\15 0015.
 * Never More....
 */

public class PayWaysBean {

    /**
     * code : 200
     * message : 获取成功
     * data : {"wechat":{"id":1,"name":"微信"},"alipay":{"id":2,"name":"支付宝"}}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * wechat : {"id":1,"name":"微信"}
         * alipay : {"id":2,"name":"支付宝"}
         */

        private WechatBean wechat;
        private AlipayBean alipay;

        public WechatBean getWechat() {
            return wechat;
        }

        public void setWechat(WechatBean wechat) {
            this.wechat = wechat;
        }

        public AlipayBean getAlipay() {
            return alipay;
        }

        public void setAlipay(AlipayBean alipay) {
            this.alipay = alipay;
        }

        public static class WechatBean {
            /**
             * id : 1
             * name : 微信
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class AlipayBean {
            /**
             * id : 2
             * name : 支付宝
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
